var i = 0;
var t = 0;
var nlclass = "shaman";
var nlclassPatch = "shaman";

nltree[i] = "Elemental"; i++;
nltree[i] = "Enhancement"; i++;
nltree[i] = "Restoration"; i++;

i = 0;


nltalent[i] = ["Convection"]; i++;
nltalent[i] = ["Concussion"]; i++;
nltalent[i] = ["Call of Flame"]; i++;
nltalent[i] = ["Elemental Warding"]; i++; 
nltalent[i] = ["Elemental Devastation"]; i++;
nltalent[i] = ["Reverberation"]; i++;
nltalent[i] = ["Elemental Focus"]; i++;
nltalent[i] = ["Elemental Fury"]; i++;
nltalent[i] = ["Improved Fire Nova Totem"]; i++;
nltalent[i] = ["Eye of the Storm"]; i++;
nltalent[i] = ["Elemental Reach"]; i++;
nltalent[i] = ["Call of Thunder"]; i++;
nltalent[i] = ["Unrelenting Storm"]; i++;
nltalent[i] = ["Elemental Precision"]; i++;
nltalent[i] = ["Lightning Mastery"]; i++;
nltalent[i] = ["Elemental Mastery"]; i++;
nltalent[i] = ["Elemental Shields"]; i++;
nltalent[i] = ["Elemental Oath"]; i++;
nltalent[i] = ["Lightning Overload"]; i++;
nltalent[i] = ["Astral Shift"]; i++;
nltalent[i] = ["Totem of Wrath"]; i++;
nltalent[i] = ["Lava Flows"]; i++;
nltalent[i] = ["Storm, Earth and Fire"]; i++;
nltalent[i] = ["Thunderstorm"]; i++;

treeStartStop[t] = i -1;
t++;

//enhancement talents

nltalent[i] = ["Enhancing Totems"]; i++;
nltalent[i] = ["Earth's Grasp"]; i++;
nltalent[i] = ["Ancestral Knowledge"]; i++;
nltalent[i] = ["Guardian Totems"]; i++;
nltalent[i] = ["Thundering Strikes"]; i++;
nltalent[i] = ["Improved Ghost Wolf"]; i++;
nltalent[i] = ["Improved Shields"]; i++;
nltalent[i] = ["Elemental Weapons"]; i++;
nltalent[i] = ["Shamanistic Focus"]; i++;
nltalent[i] = ["Anticipation"]; i++;
nltalent[i] = ["Flurry"]; i++;
nltalent[i] = ["Toughness"]; i++;
nltalent[i] = ["Improved Windfury Totem"]; i++;
nltalent[i] = ["Spirit Weapons"]; i++;
nltalent[i] = ["Mental Dexterity"]; i++;
nltalent[i] = ["Unleashed Rage"]; i++;
nltalent[i] = ["Weapon Mastery"]; i++;
nltalent[i] = ["Dual Wield Specialization"]; i++;
nltalent[i] = ["Dual Wield"]; i++;
nltalent[i] = ["Stormstrike"]; i++;
nltalent[i] = ["Mental Quickness"]; i++;
nltalent[i] = ["Lava Lash"]; i++;
nltalent[i] = ["Improved Stormstrike"]; i++;
nltalent[i] = ["Static Shock"]; i++;
nltalent[i] = ["Shamanistic Rage"]; i++;
nltalent[i] = ["Earthen Power"]; i++;
nltalent[i] = ["Malestrom Weapon"]; i++;
nltalent[i] = ["Feral Spirit"]; i++;
treeStartStop[t] = i -1;
t++;

//restoration talents

nltalent[i] = ["Improved Healing Wave"]; i++;
nltalent[i] = ["Totemic Focus"]; i++
nltalent[i] = ["Improved Reincarnation"]; i++;
nltalent[i] = ["Ancestral Healing"]; i++;
nltalent[i] = ["Tidal Focus"]; i++;
nltalent[i] = ["Improved Water Shield"]; i++;
nltalent[i] = ["Healing Focus"]; i++;
nltalent[i] = ["Tidal Force"]; i++;
nltalent[i] = ["Healing Grace"]; i++;
nltalent[i] = ["Restorative Totems"]; i++;
nltalent[i] = ["Tidal Mastery"]; i++;
nltalent[i] = ["Healing Way"]; i++;
nltalent[i] = ["Nature's Swiftness"]; i++;
nltalent[i] = ["Focused Mind"]; i++;
nltalent[i] = ["Purification"]; i++;
nltalent[i] = ["Nature's Guardian"]; i++;
nltalent[i] = ["Mana Tide Totem"]; i++;
nltalent[i] = ["Cleanse Spirit"]; i++;
nltalent[i] = ["Blessing of the Eternals"]; i++;
nltalent[i] = ["Improved Chain Heal"]; i++;
nltalent[i] = ["Nature's Blessing"]; i++;
nltalent[i] = ["Ancestral Awakening"]; i++;
nltalent[i] = ["Earth Shield"]; i++;
nltalent[i] = ["Improved Earth Shield"]; i++;
nltalent[i] = ["Tidal Waves"]; i++;
nltalent[i] = ["Riptide"]; i++;
jsLoaded=true;//needed for ajax script loading